<?php							
//	MYSQLI CREATE CONNECTION			DATABASE NOT REQUIRED BUT THEN WE WOULD NEED TO PREFIX THE TABLES WITH THE DATABASE NAME ( LIKE NORMAL SQL WHERE DATABASE HAS NOT BEEN SELECTED )
	$db = new mysqli('127.0.0.1', 'root', '', 'library');
	
	if($db->connect_errno > 0){
	    die('Unable to connect to database [' . $db->connect_error . ']');
	}
	mysqli_set_charset($db,'utf8');	

?>